#############################################################################
#
#                   Copyright (C) 1993 SciTech Software
#                           All rights reserved.
#
# Descripton:   Makefile definitions for compiling SciTech Software products.
#               Microsoft C 6.00 version. Note that MSC 6.00 does not
#               understand the _cdecl modifier, so we #define it out. Newer
#               MSC compilers do understand this however.
#
# $Id: msc.def 1.1 1994/03/06 07:48:03 kjb Exp $
#
#############################################################################

# The following will need to be changed to reflect your normal include file
# and library directories.

INC_DEST        = \bc\include\myinc # Destination for include files
LIB_DEST        = \c600\lib\mylib   # Destination for library files

CC              = cl                # Name of C compiler
ASM             = tasm              # Name of assembler
LIB             = lib               # Name of librarian
LIB_FLAGS       = /NOI /NOE

!if $d(debug)
CC_DOPT         = /Zi               # Turn on debugging for C compiler
ASM_DOPT        = /ZI               # Turn on debugging for assembler
!endif

!if $d(optimize)
CC_OPT          = /Ox /Oz           # Turn on full optimization
OPTIMIZE        = -Doptimize
!endif

# Only compile for the large model

LIBFILE         = $(LIB_DEST)\$(LIBNAME).lib
ASM_FLAGS       = /MX /m $(ASM_DOPT) /D__LARGE__ /D__COMM__
CC_FLAGS        = /D__MSDOS__ /D__MSC__ /AL $(CC_DOPT) /Gs $(CC_OPT) /D_cdecl=
COMPILE_ONLY    = /c
RSP_OPT         = -m
COMPILER        = -Dmsc

